class Animal{
    constructor(name, month) {
        this.name = name;
        this.month = month;
    }
    static catagory = '动物';
    static eat() {
        console.log("动物吃东西");
    }
}

let animal = new Animal("大白", 12);
Animal.eat();